Hi David,
How ell did it calibrate? What were the results?
KMotionCNC makes a standard Windows call to:
joyGetPosEx(JOYSTICKID1,&ji). Its up to the Joystick
manufacturer to make sure it responds appropriately. You
can search the code for this to see how it is used.
Does it sporadically move or drift as if someone is
holding the joystick in some direction slightly?
Windows returns joystick positions as a signed 16-bit
integer (+/-32767 range). The code below sets a deadband
range of +/-1600 or +/-5%. This should be more than
sufficient to avoid commanding any motion for most
joysticks if they are calibrated properly.
What is the problem you have with homing? Is it the same
as occurs with a normal Gamepad if pushing the joystick
slightly when it is homing?
If you disable the Gamepad in Tool Setup are there still
problems homing? Or only when enabled?
BTW I still have the Microsoft Force Feedback Joystick
that we purchased because I thought it would be so cool to
have active force feedback for teaching your Spinning
machines. But I guess you thought it was too big and
never liked the idea.

Regards
TK
double CKMotionCNCDlg::DoJoyAxis(int axis, int joystick)
{
double v;
v = joystick-0x7fff;
if (ThreadIsExecuting) v=0;
if (fabs(v) < 1600) v=0;
v *= m_JogSpeed[axis] * m_JogSpeedOverride[axis] *
m_JogSpeedFactor / 32768.0;
return v;
}
Hi Tom,
I did try calibrating the new
stick before I posted. This morning I double checked
and there is definitely some kind of conflict
between the new joystick and KMotionCNC. The machine
won't home or initialize with the joystick
connected. This is with the latest Windows 10 update
installed.
Regards,
David.
On 12/27/2016 9:12 PM, Tom
Kerekes
tk@...
[DynoMotion] wrote:
Hi David,
You might try this:
http://www.howtogeek.com/241421/how-to-calibrate-your-gaming-controller-in-windows-10/
Regard
TK
Hi Moray,
The gamepad is a standard
Logitech F710 (wireless) or an F310 (wired).
The joystick is a new(ish) product also from
Logitech, but also regular USB connection. I
think it is in the deadband, but it seems to
be doing funny things to KMotionCNC.
Regards,
David.
Does the gamepad have analogue
direction controls, or basic buttons?
The joystick will have analogue
controls, and there should be some
method to adjust the deadband zone. I've
not used a joystick with windows for
years, so can't help you with where the
calibration setting scan be found.
Moray
|
This email has been checked for
viruses by Avast antivirus software.
www.avast.com
|
|
This email has been checked for viruses by
Avast antivirus software.
www.avast.com
|